import * as network from '@/utils/request';
import { health } from '../../config/Apis';

export async function getHealthList(params: any): Promise<any> {
    return network.post(health.healthList, {
        data: params,
        requestType: 'form'
    });
}

export async function getHealthDetail(params: any): Promise<any> {
    return network.post(health.healthDetail, {
        data: params,
        requestType: 'form'
    });
}

export async function getHealthStationNames(params: any): Promise<any> {
    return network.post(health.healthStationNames, {
        data: params,
        requestType: 'form'
    });
}